﻿using System;
using System.Collections.Generic;
using LiveCharts.Definitions.Series;

namespace LiveCharts.Wpf
{
	// Token: 0x0200002E RID: 46
	public static class Geared
	{
		// Token: 0x060001C8 RID: 456 RVA: 0x000032EF File Offset: 0x000014EF
		public static GearedValues<T> AsGearedValues<T>(this IEnumerable<T> source)
		{
			GearedValues<T> gearedValues = new GearedValues<T>();
			gearedValues.AddRange(source);
			return gearedValues;
		}

		// Token: 0x060001C9 RID: 457 RVA: 0x000032FD File Offset: 0x000014FD
		public static GearedValues<T> WithQuality<T>(this GearedValues<T> values, Quality quality)
		{
			values.Quality = quality;
			return values;
		}

		// Token: 0x060001CA RID: 458 RVA: 0x00003307 File Offset: 0x00001507
		public static void SetLimits(this ISeriesView view, double xMin, double xMax, double yMin, double yMax, double wMin = 0.0, double wMax = 0.0)
		{
			((IGearedValues)view.Values).SetLimits(view, xMin, xMax, yMin, yMax, wMin, wMax);
		}

		// Token: 0x060001CB RID: 459 RVA: 0x00003323 File Offset: 0x00001523
		public static void RemoveLimits(this ISeriesView view)
		{
			((IGearedValues)view.Values).RemoveLimits();
		}
	}
}
